package com.zdp.demo.remote;

import com.zdp.entity.base.R;
import com.zdp.entity.remote.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "user-center", contextId = "UserRemoteService")
public interface UserRemoteService {

    @GetMapping("/user/list")
    R<List<UserVO>> list();
}
